72f7f93d3b53cf0faf59f77a5d8ffe4e4ac20359,src/main/java/org/jasig/portlet/calendar/adapter/CalendarEventsDao.java,CalendarEventsDao,getDateFormatter,#DateTimeZone#,264
Before Change
if (this.dateFormatters.containsKey(timezone.getID())) {
return this.dateFormatters.get(timezone.getID());
} else {
DateTimeFormatter df = new DateTimeFormatterBuilder().appendDayOfWeekText()
.appendLiteral(" ").appendMonthOfYearText().appendLiteral(" ")
.appendDayOfMonth(1).toFormatter().withZone(timezone);
this.dateFormatters.put(timezone.getID(), df);
return df;
}
After Change
return this.dateFormatters.get(timezone.getID());
}
final String displayPattern = this.messageSource.getMessage("date.formatter.display", null, "EEE MMM d", locale);
DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(displayPattern).toFormatter().withZone(timezone);
this.dateFormatters.put(timezone.getID(), df);
return df;
}